package com.service;

import com.entity.Role;
import com.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    public List<User> finUser();

    public User user(String realName,String password);

    public int userPassword(@Param("password") String password);

    public int updatePassword(@Param("password")String password,@Param("id") int id);

    public User userId(int id);

    public int updateUser(User user);

    public int insertUser(User user);

    public List<User> listUser(String account,String realName);
}
